<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1.0" />
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>登录-{$C.webtitle}</title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/person.css">
	<script type="text/javascript" src="__PUBLIC__/js/jquery-1.7.1.min.js"></script>
</head>

<body>

<div class="content">
    <div class="user_img">
	<a href="./"><img src="__PUBLIC__/images/icon/logo1.png"></a>
	</div>
	<form name="form" action="{:U('User/cheklogin')}" method="post" onsubmit="return check();" >
		<div class="user_login_checking">
			<div>
				<div class="user_accpsw_img"><img src="__PUBLIC__/images/person/account.png"></div>
				<div class="user_accpsw_number">
					<input type="text" name="tel" placeholder="手机号">
				</div>
			</div>
			<div>
				<div class="user_accpsw_img"><img src="__PUBLIC__/images/person/psword.png"></div>
				<div class="user_accpsw_number">
					<input type="password" name="pass" placeholder="密码">
				</div>
			</div>
		</div>
		<a href="{:U('User/zhmm')}">
			<div class="find_psword">
				<div><img src="__PUBLIC__/images/person/findPs.PNG"></div>
				<div>找回密码</div>
			</div>
		</a>
		<div id="submit">
			<input type="submit" style="display:block;padding:0;border:none;" class="login" value="登录" />
		</div>
	</form>
</div>
<script type="text/javascript">
function check(){

	var user_name=$('input[name="tel"]').val();
	if(user_name==''){
		alert('请输入手机号');
		return false;
	}

	var user_pass=$('input[name="pass"]').val();
	if(user_pass==''){
		alert('请输入密码');
		return false;
	}
}
</script>
</body>
</html>
